<div id='top-nav'>
	<a href='<?php print "$hosturl/survey.php"; ?>'>Survey</a>
</div>
<div id='loggedin-form' class='right'>
<?php
	$logoutForm = new Form('logout_form','post');
	$logoutForm->text("Welcome, <b>".$_SESSION['user']->full_name.'</b> ');
	$logoutForm->button('profile','Profile',array('type'=>'button','onclick'=>'javascript:window.location="profile.php"'),false);
	$logoutForm->button('logout_submit','Logout',array(),false);
	print $logoutForm->build();
?>
</div>